package demo.excmaputil.entity;

import java.util.Date;

/**
 * 银行卡
 * 
 * @author jishaocong
 *
 */
public class BankCard {
	private Long id;
	/** 用户id */
	private Long userId;
	/** 卡号 */
	private String cardNum;
	/** 所属银行名称 */
	private String bankName;
	/** 类型：0-储蓄卡；1-信用卡 */
	private Integer type;
	/** 信用卡有效日期 */
	private Date validDate;
	/** 信用卡安全码 */
	private String safeCode;
	/** 创建日期 */
	private Date createDate;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getCardNum() {
		return cardNum;
	}

	public void setCardNum(String cardNum) {
		this.cardNum = cardNum;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getValidDate() {
		return validDate;
	}

	public void setValidDate(Date validDate) {
		this.validDate = validDate;
	}

	public String getSafeCode() {
		return safeCode;
	}

	public void setSafeCode(String safeCode) {
		this.safeCode = safeCode;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

}
